package com.fzj.example.design.template;

/**
* @Description 抽象接口
* @Author  fanzj
* @Date   2020/5/10 5:41 下午
* @Param
* @Return
* @Exception
*
*/
public abstract class AbstractClass {
    public void templaeMethod(){

        init();

        abstractMethod1();

        abstractMethod2();
    }

    private void init(){
        System.out.println("init");
    }

    public abstract void abstractMethod1();
    public abstract void abstractMethod2();

}
